package com.yuke.cloud.service.omc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.api.omc.dto.OdsTeamSpecInfoDto;
import com.yuke.cloud.service.omc.dto.OdsTeamDto;
import com.yuke.cloud.service.omc.dto.OdsTeamInfoDto;
import com.yuke.cloud.service.omc.entity.OdsTeam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OdsTeamMapper extends MyMapper<OdsTeam> {
    List<OdsTeamDto> getTeamInfo(@Param("odsTeamDto") OdsTeamDto odsTeamDto);

    List<OdsTeamInfoDto> selectTeamInfo(@Param("odsTeamDto") OdsTeamInfoDto odsTeamDto);

    List<OdsTeamSpecInfoDto> selectTeamInfoBySpecIds(@Param("specIds") List<Long> specIds, @Param("warehouseId") Long warehouseId);

    List<Map<String, String>> accountTeamIntentMonth(@Param("shopId") Long shopId);

    List<Map<String, String>> accountTeamIntentDay(@Param("shopId") Long shopId);

    Map<String, String> getTeamProfitTotal(Long shopId);

    Map<String, String> getTeamProfitMonth(Long shopId);
}